package cn.edu.scau.cmi.liangzaoqing.client;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@Configurable
@ComponentScan(basePackages = {"cn.edu.scau.cmi.liangzaoqing.controller.page"})
@ComponentScan(basePackages = {"cn.edu.scau.cmi.liangzaoqing.controller.rest"})

@EnableJpaRepositories("cn.edu.scau.cmi.liangzaoqing.repository")
@EntityScan(basePackages = "cn.edu.scau.cmi.liangzaoqing.domain")

public class JpaApplication {

    public static void main(String[] args) {
        SpringApplication.run(JpaApplication.class, args);
    }

}
